package com.hoas.api.manager.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangQingmu123
 * @since 2018-01-04
 */
public class HttpBusinessApi implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer apiId;
    private String businessId;
    private String url;
    /**
     * http 请求方式
     */
    private String method;
    /**
     * UTF-8等编码
     */
    private String forceEncoding;
    private String contentType;
    /**
     * 是否需要token 0 - 否 1-是
     */
    private String needToken;


    public Integer getApiId() {
        return apiId;
    }

    public void setApiId(Integer apiId) {
        this.apiId = apiId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getForceEncoding() {
        return forceEncoding;
    }

    public void setForceEncoding(String forceEncoding) {
        this.forceEncoding = forceEncoding;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getNeedToken() {
        return needToken;
    }

    public void setNeedToken(String needToken) {
        this.needToken = needToken;
    }

    @Override
    public String toString() {
        return "HttpBusinessApi{" +
        "apiId=" + apiId +
        ", businessId=" + businessId +
        ", url=" + url +
        ", method=" + method +
        ", forceEncoding=" + forceEncoding +
        ", contentType=" + contentType +
        ", needToken=" + needToken +
        "}";
    }
}
